
<!-- 引入基类模板 -->
<extend name="Public:base" />

<!-- 主体部分 -->
<block name='content'>

<!-- 功能操作区一 -->
<form class="layui-form toolbar">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label w-auto">通知标题：</label>
            <div class="layui-input-inline">
                <input type="text" name="title" placeholder="请输入通知标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <!-- 通知来源 -->
        <div class="layui-inline">
            <label class="layui-form-label w-auto">通知来源：</label>
            <div class="layui-input-inline">
                {:W('common/select',array('source|0|通知来源|name|id',C('NOTICE_SOURCE'),0))}
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline" style="width: auto;">
                {:W('func/query',array(查询))}
                {:W('func/add',array(添加通知))}
                {:W('func/dall',array(批量删除))}
            </div>
        </div>
    </div>
</form>

<!-- TABLE渲染区 -->
<table class="layui-hide" id="tableList" lay-filter="tableList"></table>

<!-- 操作功能区二 -->
<script type="text/html" id="toolBar">
    {:W('func/edit',array(编辑))}
    {:W('func/delete',array(删除))}
</script>

</block>